package com.example.doctorsystem.service;

import com.example.doctorsystem.model.Prescription;

import java.util.List;

public interface PrescriptionService {
    int createPrescription(Prescription prescription);
    List<Prescription> getPrescriptionsByDoctorId(int doctorId);
    List<Prescription> getPrescriptionsByPatientId(int patientId);
    List<Prescription> getAllPrescriptions();
    boolean deletePrescription(int id);
}
